<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<style type="text/css">

*{
margin:0px;
padding:0px;
}
.content{
	position: absolute;
	left:100px;
	top:10px;
	width:400px;
	height:400px;
	border:1px solid red;
}
.box1{

	position: relative;
	left:10px;
	top:10px;
	width:100px;
	height:50px;
	border:1px solid blue;
	float:left;


}

.box2{

	position: relative;
	left:10px;
	top:-10px;
	width:100px;
	height:50px;
	border:1px solid green;


}

</style>
</head>
<body>

<div class="content">
	<div class="box1">
	aa<br>


	</div>
	<div class="box2">
	bb1<br>
	bb<br>
	bb<br>
	bb<br>
	bb<br>
	bb<br>
	bb<br>
	bb<br>
	bb<br>


	</div>
	cc

</div>


</body>
</html>